package com.chujian.gateway.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author ：chujian
 * @date ：2020-07-30
 * 动态路由配置
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "chujian.gateway.dynamic-route")
public class DynamicRouteProperties {

    // 数据来源,默认nacos
    private String sourceType = "nacos";

    private int timeOut = 30000;
    private String groupId = "CHUJIAN_GATEWAY";
    private String dataId = "chujian-gateway-routes";

}
